Tag Link | [Image->Depth] | Category | Image |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 7.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
Returns the color depth of the image in bits. Can be either 8 or 16.
[Image Variable->Depth]
No Parameters Required.
To return the color depth of an image:
Use the [Image->Depth] tag on a defined image variable. This returns an integer value representing the color depth of an image in bits.
[Var: 'MyImage' =(Image: '/images/image.jpg')]
[$MyImage->Depth]